package com.frejoys.common.dto.admin;

import com.frejoys.common.dto.common.UserIdDto;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author wangzhicheng
 * @version 1.0
 * @date 2024/4/19 15:30
 */
@Data
public class PasswordChangeDto{
    /**
     * 旧密码
     */
    @NotBlank(message = "{600}")
    @Schema(type = "String", name = "oldPassword", description = "旧密码", required = true, defaultValue = "Lm9rg25BrkzYzx2Hl7TWVw==")
    private String oldPassword;
    /**
     * 新密码
     */
    @NotBlank(message = "{600}")
    @Schema(type = "String", name = "newPassword", description = "新密码", required = true, defaultValue = "Lm9rg25BrkzYzx2Hl7TWVw==")
    private String newPassword;
}
